//
//  BRDetailHeaderCollectionViewCell.m
//  BrezzeSaaS
//
//  Created by IOS on 2021/9/29.
//  Copyright © 2021 Brezze GWG. All rights reserved.
//

#import "BRDetailHeaderCollectionViewCell.h"

@implementation BRDetailHeaderCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.titleLB.textColor = [UIColor qd_mainTextColor];
    self.titleLB.font = [UIFont br_fontB:21];
    self.subTitleLB.textColor = [UIColor qd_titleTextColor2];
    self.subTitleLB.font = [UIFont br_fontM:12];
    self.bgView.backgroundColor = UIColor.qd_backgroundColor2;
}

- (void)setType:(NSInteger)type {
    _type = type;
    if (type == 0) {
        self.titleLB.textColor = [UIColor qd_mainTextColor];
        self.subTitleLB.hidden = NO;
    }else {
        self.titleLB.textColor = [UIColor qd_descriptionTextColor];
        self.subTitleLB.hidden = YES;
    }
}

@end
